const index = (props) => {
  return (
    <div>
      test页面 <br/>
      {props.someprops.word}
    </div>
  );
};

export async function getStaticProps (context) {
  console.log('---index---getStaticProps---');

  console.log('context.preview:', context.preview);
  console.log('context.previewData:', context.previewData);
  return {
    props:{
      someprops:{
        word:'test !'
      }
    }
  }
}

export default index;
